#include "RobotConcret.h"

// Constructors/Destructors
//  

RobotConcret::RobotConcret ( ) {
initAttributes();
}

RobotConcret::~RobotConcret ( ) { }

//  
// Methods
//  


// Accessor methods
//  


/**
 * Set the value of m_etat
 * @param new_var the new value of m_etat
 */
void RobotConcret::setEtat ( EtatRobot * new_var ) {
  m_etat = new_var;
}

/**
 * Get the value of m_etat
 * @return the value of m_etat
 */
EtatRobot * RobotConcret::getEtat ( ) {
  return m_etat;
}

/**
 * Set the value of m_obstacle
 * @param new_var the new value of m_obstacle
 */
void RobotConcret::setObstacle ( Obstacle * new_var ) {
  m_obstacle = new_var;
}

/**
 * Get the value of m_obstacle
 * @return the value of m_obstacle
 */
Obstacle * RobotConcret::getObstacle ( ) {
  return m_obstacle;
}

/**
 * Set the value of m_objet
 * @param new_var the new value of m_objet
 */
void RobotConcret::setObjet ( Objet * new_var ) {
  m_objet = new_var;
}

/**
 * Get the value of m_objet
 * @return the value of m_objet
 */
Objet * RobotConcret::getObjet ( ) {
  return m_objet;
}

/**
 * Set the value of m_position
 * @param new_var the new value of m_position
 */
void RobotConcret::setPosition ( Position * new_var ) {
  m_position = new_var;
}

/**
 * Get the value of m_position
 * @return the value of m_position
 */
Position * RobotConcret::getPosition ( ) {
  return m_position;
}

/**
 * Set the value of m_observateur
 * @param new_var the new value of m_observateur
 */
void RobotConcret::setObservateur ( Afficheur * new_var ) {
  m_observateur = new_var;
}

/**
 * Get the value of m_observateur
 * @return the value of m_observateur
 */
Afficheur * RobotConcret::getObservateur ( ) {
  return m_observateur;
}

// Other methods
//  

void RobotConcret::initAttributes ( ) {
  m_etat = new EtatRobot( );
  m_obstacle = new Obstacle( );
  m_objet = new Objet( );
  m_position = new Position( );
  m_observateur = new Afficheur( );
}

